import request from '@/utils/request'

//确保 params 对象的属性名与后端 CompanyApplicationPageQueryDTO 的字段名一致（如 pageNum、pageSize、status 等）
//查询申请列表
export const getList = (params) => {
    return request.get('/api/rentplaces/page', { params })
}

export const updateList = (data) => {
    return request.put('/api/rentplaces/review', data)
}